<template>
  <div id="container" class="box">
    <div id="cesiumContainer"></div>
  </div>
</template>

<script>
export default {
  name: 'Home',
  mounted(){
    this.Cesium = this.cesium;
    this.viewer = new this.Cesium.Viewer("cesiumContainer", {
         imageryProvider : new this.Cesium.UrlTemplateImageryProvider({
     url: "http://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}",
   // url:"http://localhost:3000/odm_orthophoto_titles/odm_orthophoto.original/{z}/{x}/{y}.png"
     })
    });
    
  },
  methods: {
    
  }
};
</script>

<style lang='scss' scoped>
html,
body,
#cesiumContainer {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
</style>
